<?php

require_once(dirname(__FILE__).'/../products/aimersoft_products.php');

class AimersoftBuy extends AimersoftProducts {
	var $db;
	function __construct(){
		$this->db = $GLOBALS['db'];
		parent::__construct( $this->db );
	}
	
	//note 产品价格
	function productPrice( $get ){
		$str = parent::productPrice( $get );
		return $str;
	}
	
	//note 产品购买链接
	function productBuyLink( $get ){
		$id = $get['产品ID'];
		$price = PublicProducts::productPrice( $id );
		return $price['swreg_url'];
	}


}
?>